﻿IF NOT EXISTS ( 
Select * FROM Information_Schema.COLUMNS
where TABLE_SCHEMA = 'dbo'
AND TABLE_NAME = 'Localizations'
AND Column_Name = 'ModifiedOn'
)
BEGIN
ALTER TABLE dbo.medianamik_NodePropertyValue ADD
	ModifiedOn datetime default(getdate()) not NULL

END